﻿using System;

namespace ML.Entity
{
    /// <summary>
    /// 收款方式管理实体
    /// </summary>
    public class ReceivablesEntity
    {
        /// <summary>
        /// 主键
        /// </summary>		
        public string Id { get; set; } = Guid.NewGuid().ToString("N");

        /// <summary>
        /// 商户Id
        /// </summary>		
        public string MerchantId { get; set; }

        /// <summary>
        /// 收款方式
        /// </summary>		
        public string Method { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>		
        public string OpeningBank { get; set; }

        /// <summary>
        /// 开户名
        /// </summary>		
        public string OpeningName { get; set; }

        /// <summary>
        /// 开户帐号
        /// </summary>		
        public string OpeningAccount { get; set; }

        /// <summary>
        /// 第三方帐号
        /// </summary>		
        public string ThirdAccount { get; set; }

        /// <summary>
        /// 默认标识
        /// </summary>		
        public int DefaultMark { get; set; } = (int)DefaultMarkStatus.defaultmark_true;

        /// <summary>
        /// 删除标识
        /// </summary>		
        public int DelMark { get; set; } = (int)DeleteStatus.delete_false;

        /// <summary>
        /// 添加时间
        /// </summary>		
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}